<template lang="html">
    <Panel title="aaaaa" :class="$style.panel">
        <section :class="$style.content">
            <swiper :options="options">
                <swiper-slide>百万白条卷免费送,速来领取！！ <span>></span></swiper-slide>
                <swiper-slide>签到领流量,1元1000M先到先哦！ <span>></span></swiper-slide>
                <swiper-slide>王棋-王棋-王棋-王棋-王棋-王棋 <span>></span></swiper-slide>
            </swiper>
        </section>
    </Panel>
</template>
<script>
    import Panel from "../core/panel.vue";
    import { swiper, swiperSlide } from "vue-awesome-swiper";
    export default {
        components: {
            Panel,
            swiper,
            swiperSlide
        },
        data() {
            return {
                options: {
                    autoplay: true,//是否有滚动效果
                    loop: true,//是否循环
                    direction: "vertical"//向上滚动
                }
            }
        },

    }
</script>
<style>
    .swiper-container-vertical {
        height: 72px;
    }

    .swiper-wrapper {
        height: 72px;
    }

    .swiper-slide {
        /* font-family:  */
        font-size: 28px;
        color: #333;
    }

    .swiper-slide>span {
        color: #ddd;
        float: right;
        margin-right: 20px
    }
</style>
<style lang="scss" module>
    @import "../../css/element.scss";

    .panel {
        @include panel;
        margin-top: 110px;
    }

    .panel>h4 {
        display: none;
    }

    .content {
        height: 72px;
        line-height: 72px;
        overflow: hidden;
        padding-left: 140px;
        background: url(//m.jr.jd.com/spe/qyy/main/images/scroll_title_img.png) left center no-repeat;
        background-size: 21%;
    }
</style>